package com.ibeeking.gmc.global.service.mapper;

import com.ibeeking.gmc.global.service.common.dos.TenantScriptRelationDO;
import com.ibeeking.found.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author ibeeking
 */
public interface TenantScriptRelationMapper extends BaseMapper<TenantScriptRelationDO> {

    /**
     * 更新状态
     *
     * @param ids
     * @param tenantId
     * @param count
     * @param status
     * @return
     */
    int updateExecuteScript(@Param("ids") List<Long> ids, @Param("tenantId") Integer tenantId, @Param("count") Integer count, @Param("status") Integer status);
}
